package nr.nodehost.mapper;
import java.util.*;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import nr.nodehost.model.*;


@Mapper
public interface ComponentMapper {
	public List<Component> listAll();
	public List<Component> list(@Param("start") int start, @Param("length") int length,@Param("order") boolean order, @Param("orderCol") String col,@Param("orderDir") String orderDir,@Param("filter") String filter);
	public Component find(@Param("id") String id);
	public int getCount();
	public void delete(@Param("id")String id);
	public void edit(Component component);
	public void add(Component component);
}
